package com.infitecs.eyas.nature.service;

import com.infitecs.eyas.nature.model.Help;
import com.infitecs.eyas.nature.model.Nature;

import java.util.HashMap;
import java.util.List;

/**
 * Created by Demon on 2015/5/7.
 */
public interface NatureService {
    HashMap calculateLocalPressureByFormula21(int powerId);

    double calculateLocalPressureOtherByFormula22(int powerId);

    double calculateAnnualAverageAirMoistureByFormula23(int powerId);

    double calculateLocalDensityMoistAirByFormula24(int powerId);

    void updateAltitude(double altitude,int powerId); //海拔高度

    void updateAnnualAverageTemperature(double annualAverageTemperature,int powerId); //年平均气温

    void updateLocalPressure(double localPressure,int powerId); //当地大气压 Kpa

    void updateLocalPressureOther(double localPressureOther,int powerId); //当地大气压mmHg

    void updateOutdoorCalculatedTemperature(double outdoorCalculatedTemperature,int powerId); //采暖室外计算温度

    void updateSummerOutdoorCalculateTemperature(double summerOutdoorCalculateTemperature,int powerId); //夏季通风室外计算温度

    void updateAnnualAverageRelativeHumidity(double annualAverageRelativeHumidity,int powerId); //年平均相对湿度

    void updateMinDailyAverageTemperature(double minDailyAverageTemperature,int powerId); //最低日平均温度

    void updateAnnualAverageAirMoisture(double annualAverageAirMoisture,int powerId); //年平均空气含湿量

    void updateLocalDensityMoistAir(double localDensityMoistAir,int powerId); //当地湿空气密度

    Nature getNatureByPowerId(int powerId);

    Help getHelp(String cityName);

    List<Help>getAllDictNa();

    void natureSave(Nature nature);
}
